package com.xxgc.demo.controller.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户个人信息返回
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "用户个人信息DTO",description = "用户个人信息DTO")
public class UserInfoDTO {
    @Schema(description = "用户id")
    private String id;
    @Schema(description = "用户名")
    private String nickName;
    @Schema(description = "电话号码")
    private String phone;
    @Schema(description = "身份证号")
    private String idCard;
    @Schema(description = "性别")
    private Boolean sex;
    @Schema(description = "年龄")
    private Integer age;
}
